package com.biz.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.biz.TUinfoUtypeBIZ;
import com.dao.TUinfoUtypeDAO;
import com.entity.TUinfoUtype;
@SuppressWarnings("rawtypes")
@Service
@Transactional
public class TUinfoUtypeBIZImpl implements TUinfoUtypeBIZ {
	private TUinfoUtypeDAO tUinfoUtypeDAO;
	@Resource
	public void settUinfoUtypeDAO(TUinfoUtypeDAO tUinfoUtypeDAO) {
		this.tUinfoUtypeDAO = tUinfoUtypeDAO;
	}

	public void save(TUinfoUtype transientInstance) {
		this.tUinfoUtypeDAO.save(transientInstance);

	}

	public void delete(TUinfoUtype persistentInstance) {
		this.tUinfoUtypeDAO.delete(persistentInstance);

	}

	public TUinfoUtype findById(String id) {
		// TODO Auto-generated method stub
		return this.tUinfoUtypeDAO.findById(id);
	}

	public List findByExample(TUinfoUtype instance) {
		// TODO Auto-generated method stub
		return this.tUinfoUtypeDAO.findByExample(instance);
	}

	public List findByProperty(String propertyName, Object value) {
		// TODO Auto-generated method stub
		return this.tUinfoUtypeDAO.findByProperty(propertyName, value);
	}

	public List findByUinfoId(Object uinfoId) {
		// TODO Auto-generated method stub
		return this.tUinfoUtypeDAO.findByUinfoId(uinfoId);
	}

	public List findByUtypeId(Object utypeId) {
		// TODO Auto-generated method stub
		return this.tUinfoUtypeDAO.findByUtypeId(utypeId);
	}

	public List findByState(Object state) {
		// TODO Auto-generated method stub
		return this.tUinfoUtypeDAO.findByState(state);
	}

	public List findAll() {
		// TODO Auto-generated method stub
		return this.tUinfoUtypeDAO.findAll();
	}

	public TUinfoUtype merge(TUinfoUtype detachedInstance) {
		// TODO Auto-generated method stub
		return this.tUinfoUtypeDAO.merge(detachedInstance);
	}

	public void attachDirty(TUinfoUtype instance) {
		this.tUinfoUtypeDAO.attachDirty(instance);

	}

	public void attachClean(TUinfoUtype instance) {
		this.tUinfoUtypeDAO.attachClean(instance);

	}

}
